package com.grass.cropTradingCenter.pojo.dto;

import com.grass.cropTradingCenter.pojo.entity.GoodsPackage;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class CropDto {
    /**
     *
     */
    private Integer goodsId;

    /**
     * 对应店铺
     */
    private Integer shopId;

    /**
     * 商品名称
     */
    private String goodsName;

    /**
     * 商品描述
     */
    private String goodsDescription;

    /**
     * 商品展示主图
     */
    private String displayUrl;



    /**
     * 购买次数
     */

    private Integer buyNum;

    /**
     * 收藏次数
     */

    private Integer startNum;

    /**
     * 评论次数
     */

    private Integer commitNum;


    private List<String> detailImages;

    private List<GoodsPackage> packages;

    private String shopName;

    private BigDecimal minPrice;

    private Integer browseNum;

    private Boolean isStar;
    // 好评个数
    private Integer goodRate;
}
